*{
    margin: 0;
    padding: 0;
}
body{
    display: flex;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: url('https://img1.baidu.com/it/u=3133802645,895577185&fm=253&fmt=auto&app=138&f=JPEG?w=1066&h=800');
    background-repeat: no-repeat;
    background-size: cover;

}
.wrapper{
    width: 850px;
    height: 430px;
    border: 1px solid #000;
    display: flex;
}
.speed{
    flex: 1;
    background-color: aliceblue;
    margin: 10px;
    border-radius: 50px;
    overflow: hidden;
}
.speed-bar{
    width: 100%;
    height: 16.3%;
    background: linear-gradient(to bottom,pink 0%,green 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    color:#fff;
    cursor: pointer;
    
}